package com.interview.juc;

import java.util.concurrent.ThreadFactory;

/**
 * Copyright (C), 2018-2020
 * FileName: TomcatThreadFactory
 * Author:   kongfanyu
 * Date:     2020/11/23 20:30
 */
public class TomcatThreadFactory  implements ThreadFactory {
    @Override
    public Thread newThread(Runnable r) {
        Thread thread = new Thread(r,"Tomcat线程池:");
        return thread;
    }
}
